package com.study.app.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.study.common.core.validate.AddGroup;
import io.swagger.v3.oas.models.security.SecurityScheme;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;

/**
 * App系统通知对象 app_system_notifications
 *
 * @author magicyo
 * @date 2023-11-30
 */
@Data
@TableName("app_system_notifications")
public class AppSystemNotifications {

    private static final long serialVersionUID = 1L;
    public static final int NORMAL = 0;
    public static final int POP = 1;
    public static final int TIP = 2;
    public static final int UNREAD = 0;
    public static final int READ = 1;
    public static final int SHARER = 0;
    public static final int INVITEE = 1;

    /**
     * 系统消息ID
     */
    @TableId(value = "notification_id")
    private Long notificationId;
    /**
     * 通知接受ID，用户ID
     */
    private Long recipientId;
    /**
     * 通知接受车辆，用户车辆
     */
    private String vehicleCode;
    /**
     * 通知标题
     */
    private String notificationTitle;
    /**
     * 通知内容
     */
    private String notificationContent;
    /**
     * 发送日期
     */
    private LocalDateTime sendTime;
    /**
     * 阅读状态：0否，1是
     */
    private Integer isRead;
    /**
     * 消息展示形式：0不提示1弹框提示2消息蒙版提示
     */
    private Integer isType;
    /**
     * 身份类型：0分享人1受邀人
     */
    private Integer identityType;

}
